/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import java.sql.Date;
import java.util.ArrayList;

/**
 *
 * @author Jaice
 */
public class Album {

    private int albumId;
    private String albumName;
    private double rating;
    private Date dateReleased;
    private String dateReleasedS;
    private double price;
    private int numOfTracks;
    private String imageLocation;

    public Album(int albumId, String albumName, double rating, Date dateReleased, double price, String imageLocation) {
        this.albumId = albumId;
        this.albumName = albumName;
        this.rating = rating;

        this.dateReleased = dateReleased;
        this.price = price;
        this.imageLocation = imageLocation;
    }

    public Album(int albumId, String albumName, double rating, String dateReleased, double price, String imageLocation) {
        this.albumId = albumId;
        this.albumName = albumName;
        this.rating = rating;

        this.dateReleasedS = dateReleased;
        this.price = price;
        this.imageLocation = imageLocation;
    }

    public String getDateReleasedS() {
        return dateReleasedS;
    }

    public void setDateReleasedS(String dateReleasedS) {
        this.dateReleasedS = dateReleasedS;
    }

    public String getImageLocation() {
        return imageLocation;
    }

    public void setImageLocation(String imageLocation) {
        this.imageLocation = imageLocation;
    }

    public int getNumOfTracks() {
        return numOfTracks;
    }

    public void setNumOfTracks(int numOfTracks) {
        this.numOfTracks = numOfTracks;
    }

    public int getAlbumId() {
        return albumId;
    }

    public void setAlbumId(int albumId) {
        this.albumId = albumId;
    }

    public String getAlbumName() {
        return albumName;
    }

    public void setAlbumName(String albumName) {
        this.albumName = albumName;
    }

    public Date getDateReleased() {
        return dateReleased;
    }

    public void setDateReleased(Date dateReleased) {
        this.dateReleased = dateReleased;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getRating() {
        return rating;
    }

    public void setRating(double rating) {
        this.rating = rating;
    }

    @Override
    public String toString() {
        return "Album{" + "albumId=" + albumId + ", albumName=" + albumName + ", rating=" + rating + ", dateReleased=" + dateReleased + ", price=" + price + ", numOfTracks=" + numOfTracks + ", imageLocation=" + imageLocation + '}';
    }
}
